
**********************************************************************
*** TABLE 5
*** Role of Estimated Offcer Bias in the Effect of Trump Rallies on the Probability of a Black Stop
**********************************************************************

use "Data\officerbias.dta", clear

reghdfe black TRUMP_0 TRUMP_POST_1_30 TRUMP_POST_M30 TRUMP_PRE_M30 bias_off1 bias_int1 if officer_id_hash!=""  , a(i.county_id i.day_id  i.county_id#c.day_id) cluster(i.county_id i.day_id) 
outreg2 using "Results/Table5.txt", replace se bdec(3) sdec(3) rdec(3) coefastr alpha(0.01, 0.05, 0.10)  symbol(***, **, *) bfmt(fc) keep(TRUMP_POST_1_30 bias_off1 bias_int1) label nonotes nocons noni 

reghdfe black TRUMP_0 TRUMP_POST_1_30 TRUMP_POST_M30 TRUMP_PRE_M30 bias_off1 bias_int1 if officer_id_hash!=""  , a(i.officer_id i.county_id i.day_id  i.county_id#c.day_id) cluster(i.county_id i.day_id) 
outreg2 using "Results/Table5.txt", append se bdec(3) sdec(3) rdec(3) coefastr alpha(0.01, 0.05, 0.10)  symbol(***, **, *) bfmt(fc) keep(TRUMP_POST_1_30 bias_off1 bias_int1) label nonotes nocons noni 

reghdfe black TRUMP_0 TRUMP_POST_1_30 TRUMP_POST_M30 TRUMP_PRE_M30 bias_off2 bias_int2 if officer_id_hash!=""  , a(i.county_id i.day_id i.county_id#c.day_id) cluster(i.county_id i.day_id) 
outreg2 using "Results/Table5.txt", append se bdec(3) sdec(3) rdec(3) coefastr alpha(0.01, 0.05, 0.10)  symbol(***, **, *) bfmt(fc) keep(TRUMP_POST_1_30 bias_off2 bias_int2) label nonotes nocons noni  

reghdfe black TRUMP_0 TRUMP_POST_1_30 TRUMP_POST_M30 TRUMP_PRE_M30 bias_off2 bias_int2 if officer_id_hash!=""  , a(i.officer_id i.county_id i.day_id  i.county_id#c.day_id) cluster(i.county_id i.day_id) 
outreg2 using "Results/Table5.txt", append se bdec(3) sdec(3) rdec(3) coefastr alpha(0.01, 0.05, 0.10)  symbol(***, **, *) bfmt(fc) keep(TRUMP_POST_1_30 bias_off2 bias_int2) label nonotes nocons noni  




